/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.uhk.ppro.response.model;

import java.util.HashMap;
import java.util.List;

/**
 *
 * @author Martin
 */
public class MobileQuestionsAnswers {
    
    public MobileQuestionsAnswers(){
 
    }
    
  
    HashMap<Integer, String> questions = new HashMap<>();
    HashMap<Integer, String> answers = new HashMap<>();
    HashMap<Integer, Integer> questionsAnswers = new HashMap<>();

    public HashMap<Integer, String> getQuestions() {
        return questions;
    }

    public void setQuestions(HashMap<Integer, String> questions) {
        this.questions = questions;
    }

    public HashMap<Integer, String> getAnswers() {
        return answers;
    }

    public void setAnswers(HashMap<Integer, String> answers) {
        this.answers = answers;
    }

    public HashMap<Integer, Integer> getQuestionsAnswers() {
        return questionsAnswers;
    }

    public void setQuestionsAnswers(HashMap<Integer, Integer> questionsAnswers) {
        this.questionsAnswers = questionsAnswers;
    }


    
    public void addQuestion(Integer idQuestion, String name){
       questions.put(idQuestion, name);
    }
    
    public void addAnswer(Integer idAnswer, String name){
       answers.put(idAnswer, name);
    }
    
    public void addQuestionAnswer(Integer idQuestion, Integer idAnswer){
        questionsAnswers.put(idQuestion, idAnswer);
    }
    
    
    
}
